package com.example.quartz.task;

import com.example.quartz.openfeign.MovieRatingFeignClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author 高垚淼
 * @version 1.0
 */
@Component("PullMovieRatingToDatabase")
public class PullMovieRatingToDatabase {

    @Autowired
    MovieRatingFeignClient movieRatingFeignClient;

    public void updateMovieRating(){
        movieRatingFeignClient.updateMovieRating();
    }
}
